/**
 * @project：wh-serial
 * @title：FODBEnums.java
 * @description：fodb枚举
 * @package com.serial.comm.modular.serialPort.enums
 * @author：scylla
 * @date：2020/6/19
 * @copyright: 武汉中天云通数据科技有限责任公司  All rights reserved.
 * @version V1.0
 */
package com.serial.comm.modular.serialPort.enums;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
public enum FODBEnums {
    WRITE_SUCCESS("1", "写入成功"),
    WRITE_FAILED("0", "写入失败");
    private String code;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
